package com.lancoo.klgcourseware.ui.fragment.operate;

import androidx.annotation.Nullable;
import android.view.View;

import com.lancoo.klgcourseware.R;

public class AlertRepeatTrainOperateFragment extends AlertBaseFragment {

    public static AlertRepeatTrainOperateFragment newInstance() {
        return new AlertRepeatTrainOperateFragment();
    }

    @Override
    public void onClick(View v) {
        if(System.currentTimeMillis()-time<500){
            return;
        }
        time=System.currentTimeMillis();
        super.onClick(v);
        int id=v.getId();
        if(id== R.id.tv_i_know){
            closeAlertOperate();
        }
    }

    @Override
    protected void initView(View view) {
        view.findViewById(R.id.tv_i_know).setOnClickListener(this);
    }


    @Override
    protected int getContentViewId() {
        return R.layout.klg_fragment_alert_repeat_train;
    }
}
